package com.beiding.workordersystem.system.entity;

import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.Getter;
import lombok.Setter;

import java.io.Serializable;
import java.util.List;

@Getter
@Setter
@TableName("hat_city")
public class CityEntity implements Serializable {
    @TableId
    private String cid;
    private String cityId;
    private String city;
    private String father;

    @TableField(exist = false)
    private List<AreaEntity> areas;

}
